using Microsoft.EntityFrameworkCore;

namespace Terra.Data.SeedData;

/// <summary>
/// 种子数据提供者接口
/// </summary>
public interface ISeedDataProvider
{
    /// <summary>
    /// 配置种子数据
    /// </summary>
    /// <param name="modelBuilder">模型构建器</param>
    void Configure(ModelBuilder modelBuilder);

    /// <summary>
    /// 获取数据提供者优先级（数字越小优先级越高）
    /// </summary>
    int Order { get; }
}